{strip}{foreach from=$classes item="class"}

<li class="open" id='project_{$project.project_id}_classes_{$class.class_id}'>
<span>
<img src="img/admin-icon-classes.gif" height="12" width="12"  valign="top" border="0" /> 
 <a href="javascript:void(0);" onclick="{strip}{literal}
xajax.request(
{
	ccdsfun:'ClassEditorClassOpen',
	ccdsclass:'ccdsClassEditor'
},
{
	parameters:[{
	{/literal}
		class_id: {$class.class_id}
	{literal}
	}]
}
);

{/literal}{/strip}" class="navi">{$class.class_name}</a>
</li>
{/foreach}{/strip}